package com.simon.jkxj.model

import androidx.room.Entity
import androidx.room.PrimaryKey

@Entity(tableName = "user")
data class User(
    @PrimaryKey(autoGenerate = true) val id: Int = 0,
    val username: String? = null,
    val phone: String,
    val password: String,
    val gender: String? = null,
    val birthday: String? = null,
    val avatar: String? = null,
    val height: Float? = null,
    val weight: Float? = null,
    val chronicDiseases: String? = null,
    val constitution: String? = null,
    val respiratoryDiseases: String? = null,
    val respiratorySymptoms: String? = null,
    val respiratoryMedications: String? = null,
    val respiratoryExamination: String? = null,
    val createTime: Long = System.currentTimeMillis()
) 